﻿using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using ExtAspNet;
namespace Web.Accounting
{
    public partial class _default : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
        }

        protected void lbShopPO_Click(object sender, EventArgs e)
        {
            //Page.RegisterStartupScript("AddShopPOTab", mainTabStrip.GetAddTabReference("tbShopPO", "ShopPO.aspx", lbShopPO.Text, true));
            PageContext.RegisterStartupScript(mainTabStrip.GetAddTabReference("tbShopPO", "ShopPO.aspx", lbShopPO.Text, true));
        }

        protected void lbShopRO_Click(object sender, EventArgs e)
        {
            PageContext.RegisterStartupScript(mainTabStrip.GetAddTabReference("tbShopRO", "ShopRO.aspx", lbShopRO.Text, true));
        }

        protected void lbSupplierPO_Click(object sender, EventArgs e)
        {
            PageContext.RegisterStartupScript(mainTabStrip.GetAddTabReference("tbSupplierPO", "SupplierPO.aspx", lbSupplierPO.Text, true));
        }

        protected void lbSupplierRO_Click(object sender, EventArgs e)
        {
            PageContext.RegisterStartupScript(mainTabStrip.GetAddTabReference("tbSupplierRO", "SupplierRO.aspx", lbSupplierRO.Text, true));
        }

        protected void lbPayment_Click(object sender, EventArgs e)
        {
            PageContext.RegisterStartupScript(mainTabStrip.GetAddTabReference("tbPayment", "PaymentList.aspx", lbPayment.Text, true));
        }
    }
}
